module.exports = {
    // devtool:'eval-source-map',
    entry:{
        animation:__dirname+'/src/animation.js'
    },
    output:{
        path:__dirname+'/build',
        filename:'[name].js',
        library:'animation',
        libraryTarget:'umd'
    },
    devServer: {
        contentBase: "./demo",//本地服务器所加载的页面所在的目录
        historyApiFallback: true,//不跳转
        inline: true//实时刷新
    }
};